Skip to content

Conversation

@real-or-random
Copy link
Contributor

No description provided.

@real-or-random real-or-random added the user-documentation user-facing documentation label Jun 15, 2023
@real-or-random
Copy link
Contributor Author

@stratospher Interested in reviewing this small PR?

Copy link
Contributor

@stratospher stratospher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK c66c30c.

@real-or-random real-or-random force-pushed the 202306-fe-sqrt-ret-docs branch from c66c30c to cc1ad2f Compare June 15, 2023 15:24
@stratospher
Copy link
Contributor

ACK cc1ad2f.

src/field.h Outdated
Comment on lines 270 to 271
* Performs {r = sqrt(a)} and returns 1 if sqrt(a) exists.
* Performs {r = sqrt(-a)} and returns 0 otherwise; then sqrt(-a) exists.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe case distinction like this is clearer?

 * If sqrt(a) exists, performs {r = sqrt(a)} and returns 1.
 * Otherwise, sqrt(-a) exists. The function performs {r = sqrt(-a)} and returns 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Co-authored-by: Jonas Nick <jonasd.nick@gmail.com>
@real-or-random real-or-random force-pushed the 202306-fe-sqrt-ret-docs branch from cc1ad2f to 5779137 Compare June 20, 2023 22:19
@sipa
Copy link
Contributor

sipa commented Jun 20, 2023

ACK 5779137

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 5779137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-documentation user-facing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants